home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d16 / nodee1a.arc / SOURCE.ARC / PS.H < prev   
C/C++ Source or Header  |  1991-09-20  |  780b  |  40 lines

  1.     #ifndef __PS_H
  2.     #define __PS_H
  3.  
  4.     #ifndef __FILE_H
  5.         #include "file.h"
  6.     #endif
  7.  
  8. /*------------------------------------------------------------
  9.  
  10. PSFile class
  11.  
  12. publicly derived from FileName
  13.  
  14. public members:
  15.  
  16.     BOOL test(void) - determines if the file is a Postscript file
  17.             and contains a ^D in the first line.  Returns TRUE if so.
  18.  
  19.     int strip(void) - removes the ^D from the first line of the file
  20.             by shifting the remaining characters over one place to the left.
  21.  
  22. inherited public members:
  23.  
  24.     BOOL SetFile(char *)
  25.     char* JustName(void)
  26.     char* ShortName(int)
  27.     char* LongName(void)
  28.  
  29. -----------------------------------------------------------*/
  30.  
  31.  
  32.     class PSFile: public FileName
  33.     {
  34.     public:
  35.         int strip(void);
  36.         BOOL test(void);
  37.  
  38.     };
  39.  
  40.     #endif